package com.csw.monkmanager.test;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @ExcelProperty("字符串标题") value = "" 对应生成excel的表头 index="" 指定该属性出现在哪一列
 * 
 * @ExcelIgnore 忽略该字段
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DemoData {
	@ExcelProperty("字符串标题")
	private String string;
	@ExcelProperty(value = "日期标题")
	private Date date;
	@ExcelProperty("数字标题")
	private Double doubleData;
	/**
	 * 忽略这个字段
	 */
	@ExcelIgnore
	private String ignore;
}